package com.layui.ad.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.layui.ad.entity.Article;
import com.layui.ad.query.ArticleQuery;
import com.layui.ad.utils.JsonResult;

import java.net.InterfaceAddress;
import java.util.Map;

public interface ArticleService extends IService<Article> {

    JsonResult getList(ArticleQuery articleQuery);

    JsonResult edit(Article article);

    Map<String,String> info(Integer id);

    JsonResult delete(Integer id);

    JsonResult batchDelete(String ids);

}
